package br.com.nomeempresa.locadora.app;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Principal  extends Application{

    public static Scene scene;
    
	@Override
	public void start(Stage stage) throws Exception {
		Parent root = FXMLLoader.load(getClass().getResource("/br/com/nomeempresa/locadora/view/Principal.fxml"));
		scene = new Scene(root);
		stage.setScene(scene);
		stage.show();
		stage.setTitle("Sistema de Locadora");
	}
	
	public static void main(String[] args) {
		launch(args);
	}

}
